package com.recharge.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author reagan
 * @since 2020-08-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_merchant_account")
public class MerchantAccountEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 账户号
     */
    private String accountNo;

    /**
     * 余额
     */
    private Long balance;

    /**
     * 保证金
     */
    private Long earnestMoney;

    /**
     * 待还款金额
     */
    private Long noAmount;

    /**
     * 最后存入金额
     */
    private Long lastDeposit;

    /**
     * 最后提现金额
     */
    private Long lastWithdraw;

    /**
     * 最后存款日期
     */
    private Date lastDepositDate;

    /**
     * 最后提现时间
     */
    private Date lastWithdrawDate;

    /**
     * 信用款
     */
    private Long credit;

    private Date createDate;

    private Date modifiDate;

    private String creator;

    private String modifier;

    /**
     * 0.冻结1.解冻\n            \n            
     */
    private Integer status;

    /**
     * -1 删除 1 有效\n            
     */
    private Integer isDelete;

    @Version
    private Integer version;
}
